package com.huawei.appgallery.forum.forum.activity;

import android.os.Bundle;
import com.huawei.appgallery.forum.base.api.IJGWTabProtocol;
import com.huawei.hmf.annotation.ActivityDefine;
import o.bqx;
import o.bun.c;
import o.dof;
import o.fho;
import o.fiu;
import o.fjb;
import o.fjm;
import o.FragmentTransaction;

@ActivityDefine(alias = "ForumRecommendActivity", protocol = IForumActivityProtocol.class)
public class ForumRecommendActivity extends ForumDetailActivity {
    private String ˋॱ;

    protected void ˊ(Bundle bundle) {
        if (bundle == null) {
            fjb ˎ = fho.ˏ().ˋ("Forum").ˎ("ForumRecommendListFragment");
            ((IJGWTabProtocol) ˎ.ˊ()).setUri(this.ͺ);
            fjm ˏ = fjm.ˏ(fiu.ˊ().ˋ(this, ˎ));
            FragmentTransaction ˊ = ˏॱ().ˊ();
            ˊ.ˏ(c.ʻॱ, ˏ.ˏ(), "ForumRecommendActivity");
            ˊ.ˋ();
            return;
        }
        this.ˋॱ = bundle.getString("title_name");
        if (!dof.ॱ(this.ˋॱ)) {
            ˎ(this.ˋॱ);
        }
    }

    public void onSaveInstanceState(Bundle bundle) {
        super.onSaveInstanceState(bundle);
        bundle.putString("title_name", this.ˋॱ);
        bqx.ˋ("ForumRecommendActivity", "onSaveInstanceState : " + this.ˋॱ);
    }

    public void ˎ(String str) {
        this.ˋॱ = str;
        super.ˎ(str);
    }
}
